#-*- coding:utf-8 -*-

'''
Created on 08.Nis.2010

@author: Metehan
'''

from PyQt4.QtGui import *
from PyQt4.QtCore import *
from pardus import Package
pkg = Package()

class Thread(QThread):
    def __init__(self,ui):
        QThread.__init__(self)
        self.ui = ui
        
    def run(self):
        pkg.getInstalledPackages()

class Thread2(QThread):
    def __init__(self,ui):
        QThread.__init__(self)
        self.ui = ui
        
    def run(self):
        pkg.writeUpdatedPackages()